package com.woniuxy.car.commodity.service.core.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author awz
 * @since 2022-03-02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("kc_commodity_comment_tag")
@ApiModel(value = "CommodityCommentTag对象", description = "")
public class CommodityCommentTag implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品评价标签主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("商品评价标签(json格式)")
    private String content;

    @TableField(select = false)
    @TableLogic
    @ApiModelProperty("逻辑删除（0未删除，1已删除）")
    private Integer isDelete;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
}
